<%@page import="com.tianye.salon.util.ProfileUtil"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.baidu.ueditor.ActionEnter"
    pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%

    request.setCharacterEncoding( "utf-8" );
	response.setHeader("Content-Type" , "text/html");
	
	String rootPath = application.getRealPath( "/" );
	String savePath = ProfileUtil.getInstance().read("prop.properties", "images_upload_path");
	String serverPath = ProfileUtil.getInstance().read("prop.properties", "file_path_Prefix");
	String imageUrlPrefix = ProfileUtil.getInstance().read("prop.properties", "ue_file_show_base_url");
	Cookie cookie_name =new Cookie("imageUrlPrefix",imageUrlPrefix);
	cookie_name.setPath("/");  
	cookie_name.setMaxAge(365*24*24*60); 
	response.addCookie(cookie_name);
	out.write( new ActionEnter( request,serverPath+savePath, rootPath ).exec() ); 
	
%>
